﻿<Window x:Class="KTool2.TranslateConditionWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Translate Condition" Height="240" Width="280"
        Icon="/KTool 2;component/Images/Rate.png"
        ResizeMode="NoResize"
        FontFamily="Lucida Sans Unicode">
    <StackPanel>
        <StackPanel.Resources>
            <Style TargetType="CheckBox">
                <Setter Property="Margin" Value="15, 4, 0, 4"></Setter>
            </Style>
            <Style TargetType="Image">
                <Setter Property="Height" Value="10"></Setter>
                <Setter Property="Width" Value="10"></Setter>
                <Setter Property="VerticalAlignment" Value="Center"></Setter>
                <Setter Property="Margin" Value="1"></Setter>
            </Style>
        </StackPanel.Resources>
        <TextBlock Margin="15, 10, 15, 5" TextWrapping="WrapWithOverflow">
            Always shows translation of kanji that has Mem rate:
        </TextBlock>

        <CheckBox Name="chkbx1Star" IsChecked="True">
            <StackPanel Orientation="Horizontal">
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
            </StackPanel>
        </CheckBox>
        <CheckBox Name="chkbx2Star">
            <StackPanel Orientation="Horizontal">
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
            </StackPanel>
        </CheckBox>
        <CheckBox Name="chkbx3Star">
            <StackPanel Orientation="Horizontal">
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
            </StackPanel>
        </CheckBox>
        <CheckBox Name="chkbx4Star">
            <StackPanel Orientation="Horizontal">
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
            </StackPanel>
        </CheckBox>
        <CheckBox Name="chkbx5Star">
            <StackPanel Orientation="Horizontal">
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
                <Image Source="pack://application:,,,/Images/Star.png"></Image>
            </StackPanel>
        </CheckBox>

        <Button Name="btnOK"
                Margin="15,5"
                Padding="3" 
                IsDefault="True"
                Click="btnOK_Click">
            OK
        </Button>
    </StackPanel>
</Window>
